class NetworkError(Exception):
    """网络操作基类异常"""
    pass

class ConnectionError(NetworkError):
    """连接相关异常"""
    pass

class SendDataError(NetworkError):
    """数据发送异常"""
    pass